﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InfoPick.Lib.Tools;
using InfoPick.Lib.Entity;

namespace InfoPick.Lib.StringResolve
{
    public class AIETGResolver
    {
        public static List<AIETG> ResolveList(string str)
        {
            List<AIETG> list = new List<AIETG>();
            if (!string.IsNullOrEmpty(str))
            {
                var table = StringTools.GetTable(str, "A接口中继群配置信息", "(结果个数");
                foreach (var item in table)
                {
                    var obj = AIETG.Create(item);
                    if (obj != null)
                        list.Add(obj);
                }
                
            }
            return list;
        }
    }



    

}
